import {t, api, message, bs} from "@/service/index.js"


export default {
    url: {
        add: "/qa/add",
        list: "/qa/list",
        del: "/qa/del",
        edit: "/qa/edit",
        qaTraining: "/qa/qaTraining",
        qaTestTraining: "/qa/qaTestTraining",
        findConfig: "/qa/findConfig",
        updateConfig: "/qa/updateConfig",
    },
    add(data) {
        return api.post(this.url.add, data)
    },
    list(data) {
        return api.post(this.url.list, data)
    },
    del(data) {
        return api.post(this.url.del, data)
    },
    edit(data) {
        return api.post(this.url.edit, data)
    },
    qaTraining(data) {
        return api.post(this.url.qaTraining, data)
    },
    qaTestTraining(data) {
        return api.post(this.url.qaTestTraining, data)
    },
    findConfig(data) {
        return api.post(this.url.findConfig, data)
    },
    updateConfig(data) {
        return api.post(this.url.updateConfig, data)
    },
}